import service from "@/utils/request";
// export const reqTradeList = (page=1,limit=5)=>{
//     return request({
//         url:`/admin/product/baseTrademark/${page}/${limit}`,
//         method:"get"
//     })
// }
export const reqTradeList = (page = 1, limit = 5) => {
  return service.get(`/admin/product/baseTrademark/${page}/${limit}`);
};
export const reqAddTradeItem = ({ tmName, logoUrl }) => {
  return service.post(`/admin/product/baseTrademark/save`, { tmName, logoUrl });
};
//删除
export const reqDeleteItem = (id) => {
  return service.delete(`admin/product/baseTrademark/remove/${id}`);
};
